package org.ykh.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.ykh.iruleConfig.IruleConfig;

/**
 * @author ykh
 * @create 2022-01-22 10:46
 */
@SpringBootApplication
@EnableFeignClients
@RibbonClient(name = "CLOUD-PAYMENT-SERVICE",configuration= IruleConfig.class)//访问CLOUD-PAYMENT-SERVICE使用IruleConfig.class提供的集群策略
public class OpenFeign_OrderMain80 {
    public static void main(String[] args) {
        SpringApplication.run(OpenFeign_OrderMain80.class, args);
    }
}
